import request from '@/utils/request'

// 查询模型分类列表
export function listModelclassification(query) {
  return request({
    url: '/decision/modelclassification/list',
    method: 'get',
    params: query
  })
}

// 查询模型分类详细
export function getModelclassification(modelTypeId) {
  return request({
    url: '/decision/modelclassification/' + modelTypeId,
    method: 'get'
  })
}

// 新增模型分类
export function addModelclassification(data) {
  return request({
    url: '/decision/modelclassification',
    method: 'post',
    data: data
  })
}

// 修改模型分类
export function updateModelclassification(data) {
  return request({
    url: '/decision/modelclassification',
    method: 'put',
    data: data
  })
}

// 删除模型分类
export function delModelclassification(modelTypeId) {
  return request({
    url: '/decision/modelclassification/' + modelTypeId,
    method: 'delete'
  })
}
